




.hover-color(@color) {
  box-shadow: 3px 3px 2px @color;
}
.btn-handle(@color) {
  width: 8rem;
  height: 4rem;
  font-size: 2rem;
  border-radius: 0.5rem;
  background-color: @color;
}

.personal-data {
  width: 130rem;
  height: 78rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  .card-head {
    width: 130rem;
    height: 16rem;
    background-color: #FFFFFF;
    display: flex;
    justify-content: space-between;

    .card-head-img {
      width: 50rem;
      display: flex;
      flex-direction: column;
      flex-wrap: wrap;
      justify-content: space-around;
      padding-left: 5rem;

      .avatar-img {
        width: 15rem;
        height: 15rem;
        border: 1px solid black;
      }

      .nickname {
        font-size: 4rem;
        color: #28544b;
        margin-left: -8rem;
      }

      .upload-btn {
        width: 13rem;
        height: 4rem;
        font-size: 2rem;
        margin-left: -8rem;
        border-radius: 0.5rem;
      }

    }

    .card-head-title {
      width: 30rem;
      display: flex;
      flex-direction: column;
      justify-content: space-around;
      flex-wrap: nowrap;

      div {
        height: 9rem;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        p {
          margin: 0;
          font-size: 2rem;
          color: #28544b;
        }
      }
      .certificate-btn {
        width: 15rem;
        height: 4rem;
        font-size: 2rem;
        border-radius: 0.5rem;
        margin-top: -5rem;
      }
      .certificate-btn:disabled:hover {
        cursor: not-allowed;
      }
    }
  }

  .card-content {
    width: 130rem;
    height: 60rem;
    background-color: #FFFFFF;
    overflow-y: auto;

    form {
      width: 124rem;
      padding: 5rem 10rem 0 10rem;

      .btn-update {
        .btn-handle(#ffd6a0)
      }
      .btn-update:hover {
        cursor: pointer;
        .hover-color(#f2e5d6)
      }

      .btn-complete {
        .btn-handle(#ffd6a0);
      }
      .btn-complete:hover {
        .hover-color(#f2e5d6)
      }
      .btn-complete:disabled {
        cursor: not-allowed;
        background-color: #F5F5F5;
        color: #97918c;
      }
      .btn-complete:disabled:hover {
        cursor: not-allowed;
        .hover-color(white);
      }

      .btn-cancel {
        .btn-handle(#a7d7c5)
      }
      .btn-cancel:hover {
        cursor: pointer;
        .hover-color(#e2f6e2)
      }
    }
  }
}

